home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / gtetris / Imakefile < prev    next >
Encoding:
Makefile  |  1995-05-03  |  1.6 KB  |  48 lines

  1. /**/# GENERIC X-WINDOW-BASED TETRIS
  2. /**/#
  3. /**/#    Imakefile
  4. /**/#
  5. /**/###
  6. /**/#
  7. /**/#  Copyright (C) 1992, 1993     Qiang Alex Zhao, azhao@cs.arizona.edu
  8. /**/#        Computer Science Dept, University of Arizona
  9. /**/#
  10. /**/#            All Rights Reserved
  11. /**/#
  12. /**/#  Permission to use, copy, modify, and distribute this software and
  13. /**/#  its documentation for any purpose and without fee is hereby granted,
  14. /**/#  provided that the above copyright notice appear in all copies and
  15. /**/#  that both that copyright notice and this permission notice appear in
  16. /**/#  supporting documentation, and that the name of the author not be
  17. /**/#  used in advertising or publicity pertaining to distribution of the
  18. /**/#  software without specific, written prior permission.
  19. /**/#
  20. /**/#  This program is distributed in the hope that it will be "playable",
  21. /**/#  but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. /**/#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  23. /**/#
  24.  
  25.       SCOREFILE = /usr/games/lib/gtetris/scores
  26.  
  27. /**/# Set "RANDOM" to:
  28. /**/#    -DHAS_48    if has lrand48() and srand48()
  29. /**/#    -DHAS_RANDOM    if has random() and srandom()
  30. /**/#            otherwise, set to empty
  31.          RANDOM = -DHAS_48
  32.  
  33. /**/##############################################################
  34.  
  35.         DEFINES = -I. -DSCOREFILE=\"$(SCOREFILE)\" $(RANDOM)
  36. LOCAL_LIBRARIES = $(XLIB)
  37.   SYS_LIBRARIES = -lm
  38.            SRCS = tetris.c playing.c utils.c
  39.            OBJS = tetris.o playing.o utils.o
  40.        PROGRAMS = tetris tscores
  41.  
  42. ComplexProgramTarget(tetris)
  43.  
  44. tetris.o: tetris.c tetris.h
  45. playing.o: playing.c tetris.h
  46. utils.o: utils.c tetris.h
  47.  
  48.